package com.zuo_book.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 模板阶段实体类
 */
@Data
@TableName("sys_template_stage")
public class SysTemplateStage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 阶段ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 模板ID
     */
    private Long templateId;

    /**
     * 阶段名称
     */
    private String stageName;

    /**
     * 权重比例
     */
    private Integer weight;

    /**
     * 阶段描述
     */
    private String description;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 删除标志
     */
    @TableLogic
    private String delFlag;
}